for /d /r . %%d in (bin obj artifacts BundleArtifacts intermediate build) do @if exist "%%d" rd /s/q "%%d"